<template>
  <div class="divclass">
    <h2>Child1 {{ $route.params.id }}</h2>
      这个是个子组件child____1
  </div>
</template>

<script>
export default {
  name: 'Child1',
  data () {
    return {

    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
     .divclass {
        height: 600px;
        width: 600px;
        border:1px solid #124732;
        margin: 0 auto;
    }

</style>
